/* 遮罩层 */
.af-dialog-shade {
    opacity: 0.3;
    filter: alpha(opacity=30);
    background-color: gray;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 25;
}

/* 模态框 */
.af-dialog-box {
    position: fixed;
    /*top: calc(50% - 300px);*/
    /*left: calc(50% - 475px);*/
    /*width: 950px;*/
    /*height: 600px;*/
    /*border: 1px solid rgb(216, 216, 216);*/
    border-radius: 5px;
    box-shadow: 5px 5px 10px rgba(10, 20, 20, .2), -5px -5px 10px rgba(10, 20, 20, .2);
    background-color: #fff;
    z-index: 26;
}

.af-dialog-box-hd {
    box-sizing: border-box;
    position: relative;
    display: flex;
    background-color: #F8F8F8;
    border-radius: 2px 2px 0 0;
    border-bottom: 1px solid #eee;
    overflow: hidden;
    height: 38px;
    line-height: 38px;
}

.af-hd-left {
    flex: 12;
    padding-left: 10px;
    font-size: 14px;
    color: #333;
}

.af-hd-right {
    flex: 1;
    text-align: right;
    padding-right: 10px;
}

.af-hd-right span {
    color: #909399;
    display: inline-block;
    width: 20px;
    height: 10px;
    text-align: center;
    cursor: pointer;
}

.af-hd-right span:hover {
    color: #44afff;
}

.af-dialog-box-bd {
    box-sizing: border-box;
    position: absolute;
    right: 0;
    left: 0;
    top: 38px;
    bottom: 50px;

    padding: 10px 15px;
    line-height: 24px;
    word-break: break-all;
    font-size: 14px;
    overflow-x: hidden;
    overflow-y: auto;
}

/* 自定义滚动条宽度 */
.af-dialog-box-bd::-webkit-scrollbar {
    width: 7px; /* 滚动条宽度 */
}

/* 自定义滚动条滑块 */
.af-dialog-box-bd::-webkit-scrollbar-thumb {
    border-radius: 5px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    background: #43b1ff; /* 滑块颜色 */
}

/* 自定义滚动条滑块外壳 */
.af-dialog-box-bd::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    /*border-radius: 5px;*/
    background: #ededed;
}

/* 滚动时滑块的颜色变化 */
.af-dialog-box-bd::-webkit-scrollbar-thumb:hover {
    background: #0090ff; /* 滑块hover颜色 */
}

.af-dialog-box-ft {
    box-sizing: border-box;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45px;
    margin-top: 5px;
    display: flex;
    /*border-top: 1px solid rgb(216, 216, 216);*/
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 15px;
    background-color: #FFFFFF;
}

.af-dialog-btn {
    height: 30px;
    line-height: 30px;
    padding: 0 15px;
    border-radius: 2px;
    font-weight: 400;
    cursor: pointer;
    border: 1px solid #1E9FFF;
    background-color: #1E9FFF;
    color: #fff;
}